Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>Click on the w3schools logo to download the image:<p> <a href="../images/myw3schoolsimage.jpg" download="w3logo"> <img border="0" src="../images/myw3schoolsimage.jpg" alt="W3Schools" width="104" height="142"> </a> <p>Notice that the filename of the downloaded file will be saved as "w3logo.jpg" instead of "myw3schoolsimage.jpg".</p> <p><b>Note:</b> The download attribute is not supported in IE, Safari or Opera version 12 (and earlier).</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml5_a_download2 by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:22:58 GMT --> </html>
Result:
Try it Yourself - © w3schools.com